//
//  FSWSegmentedControlLabel.h
//  quhuolang_driver
//
//  Created by 曹欣欣 on 2018/3/15.
//  Copyright © 2018年 fusw. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^controlButton)(UIButton *sender);

@interface FSWSegmentedControlLabel : UIView
@property (weak, nonatomic) IBOutlet UIButton *button;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) controlButton block;
@property (weak, nonatomic) IBOutlet UILabel *subLabel;

+(instancetype)headView;

-(void)sublabel:(NSString *)sub;
-(void)show:(NSString *)title andSub:(NSString *)sub andControlButton:(controlButton)block;

@end
